import Vue from 'vue';
import navigate from '@/tool/pages';

import App from './App';
import store from './store';
import filter from './tool/filters';
import fly from './tool/fly.config';

Vue.config.productionTip = false;

App.mpType = 'app';

Vue.use(filter);

Vue.prototype.$http = fly;
Vue.prototype.$navigate = navigate;

const app = new Vue({
  store,
  ...App,
});
app.$mount();
